﻿using Microsoft.EntityFrameworkCore;
using Traceability.App.Domain;
using Traceability.Domain;

namespace Traceability.Infrastructure
{
    public class SCDbContext : DbContext
    {
        public SCDbContext(DbContextOptions options) : base(options)
        {
        }
        /// <summary>
        /// 溯源管理基本信息表
        /// </summary>
        public DbSet<TraceabilityModel> TraceabilityModel {  get; set; }
        /// <summary>
        /// 养殖企业信息表
        /// </summary>
        public DbSet<BreedingEnterprises> BreedingEnterprises {  get; set; }
        /// <summary>
        /// 养殖信息表
        /// </summary>
        public DbSet<BreedingModel> BreedingModel {  get; set; }
        /// <summary>
        /// 养殖保健信息
        /// </summary>
        public DbSet<HealthModel> HealthModel { get; set; }
        /// <summary>
        /// 深加工企业信息
        /// </summary>
        public DbSet<DeepEnterprisess> DeepEnterprisess {  get; set; }
        /// <summary>
        /// 深加工供应商信息
        /// </summary>
        public DbSet<DeepProcessing> DeepProcessing {  get; set; }
        /// <summary>
        /// 商品表
        /// </summary>
        public DbSet<GoodsModel> GoodsModel {  get; set; }
        /// <summary>
        /// 图片表
        /// </summary>
        public DbSet<PictureModel> PictureModel {  get; set; }
        /// <summary>
        /// 屠宰企业信息
        /// </summary>
        public DbSet<SlaughteringEnterprises> SlaughteringEnterprises {  get; set; }
        /// <summary>
        /// 屠宰信息
        /// </summary>
        public DbSet<SlaughterModel> SlaughterModel {  get; set; }
        /// <summary>
        /// 供应商信息实体
        /// </summary>
        public DbSet<SupplierModel> SupplierModel {  get; set; }
      


    }
}
